package com.jvmoutofmemory.platform.pushutil.dto;

import lombok.Data;

/**
 * @author adam
 * @date 2022-06-02
 */
@Data
public class PushResult {

    private boolean success;

    private String msg;

    private String body;

    public PushResult() {
    }

    public PushResult(boolean success) {
        this.success = success;
    }

    public PushResult(boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }

    public PushResult(boolean success, String msg, String body) {
        this.success = success;
        this.msg = msg;
        this.body = body;
    }
}
